<!DOCTYPE html>
<html lang="en" xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
    {{在}}
    <input type="button" value="按钮" @click="f()">
    <input type="button" value="按钮" @click="f">
    <input type="button" value="按钮" v-on:click="f">
    <input type="button" value="按钮" v-on:click="f()">
</div>
<script src="../day06/vue.min.js"></script>
<script>
    let v = new Vue({
            el: "body>div",
            data: {
                在: "事件绑定"
            },
            methods: {
                f() {
                    alert("按钮点击成功");
                }

            }
        }
    )
</script>
</body>
</html>